/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package googlecode.menagerie.axis2.pojo.complex;

import java.util.ArrayList;
import java.util.List;

/**
 *
 * @author sowen
 */
public class ComplexWithInternalList {

    private List<String> theList = new ArrayList<String>();

    public ComplexWithInternalList() {
        theList.add("String A");
        theList.add("String B");
        theList.add("String C");
        theList.add("String D");
    }

    public int getLength() {
        return theList.size();
    }

    public List<String> getInnerList() {
        return theList;
    }

    public String[] getInnerArray() {
        return theList.toArray(new String[]{});
    }
}
